package com.sinoair.domain.PKM;

import javax.persistence.*;
import java.util.Date;

/**
 * PKM3 个人知识管理
 * 配置表
 * <pre>
 *  Version         Date            Author          Description
 * ---------------------------------------------------------------------------------------
 *  1.0.0           2017/09/09     senlin        -配置表
 * </pre>
 *
 * @author senlin
 * @version 1.0.0 2017/9/9 0009 21:19
 * @date 2017/9/9 0009 21:19
 * @since 1.0.0
 */
@Entity
@Table(name = "pkm_config")
public class Config {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    private String dbId;
    private String dbVersion;
    private String dbName;
    private String dbInfo;
    private int recordCount;
    private String usr;
    private String pwd;
    private Date timesync;

    public String getDbId() {
        return dbId;
    }

    public void setDbId(String dbId) {
        this.dbId = dbId;
    }

    public String getDbVersion() {
        return dbVersion;
    }

    public void setDbVersion(String dbVersion) {
        this.dbVersion = dbVersion;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbInfo() {
        return dbInfo;
    }

    public void setDbInfo(String dbInfo) {
        this.dbInfo = dbInfo;
    }

    public int getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }

    public String getUsr() {
        return usr;
    }

    public void setUsr(String usr) {
        this.usr = usr;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getTimesync() {
        return timesync;
    }

    public void setTimesync(Date timesync) {
        this.timesync = timesync;
    }
}
